home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Games of Daze
/
Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso
/
x2ftp
/
msdos
/
libs
/
knowhow4
/
vecmain.cpp
< prev
next >
Wrap
C/C++ Source or Header
|
1995-01-14
|
2KB
|
51 lines
#include <alloc.h> // The example of simple graphics editor interface
#include <iostream.h> // creation. The program shows linemenu with
#include <conio.h> // Paint Brush like choices: File, Edit, View etc.,
// Help system explains the behavior of package
#include "vector.h"
extern unsigned _stklen = 16000;
void main()
{
if(!init_KNOW_HOW(DETECT, 1))
return;
///////////////////////////
rect r_help(5, 5, 70, 25);
help_object = new HypertextView(r_help, "vector.hlp", "_vec.pcy",
FIXED,
pScreenSet->sub_interval,
SHOW_BORDER, 10, "VECTOR",
BLUE, YELLOW, 56);
Vector* v = new Vector("vector.pcy", "work.buf");
setfillstyle(SOLID_FILL, getmaxcolor());
bar(0, 0, getmaxx(), getmaxy());
v->show();
v->exe(); // process the program
delete help_object;
delete v;
close_KNOW_HOW();
closegraph();
cout << "\n";
cout << "\n";
cout << "VECTOR Copyright (C) 1992 - 1994 Stepan S Vartanov\n";
cout << "\n";
cout << "This program is SHAREWARE. To get supprot and discount for next\n";
cout << "versions, you should REGISTER. Registration fee is 30$ USA. \n\n";
cout << "Send money to: \n";
cout << " P.O.Box 34041, Scotia Square RPO, Halifax, N.S.,\n";
cout << " Canada. B3J 3S1.\n";
cout << "and add registration card:\n";
cout << " Full name; Address or (better) E.mail; Program name and version.\n\n";
cout << "Support: ad398@cfn.cs.dal.ca, Stepan Vartanov.\n";
}